package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.sc.nft.sup.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 生态-重铸-配置
 * </p>
 *
 * @author author
 * @since 2024-06-14
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_ecology_reforge_conf")
public class EcologyReforgeConf  extends SuperEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "藏品id")
    private Long collectionId;

    @ApiModelProperty(value = "藏品名称")
    private String collectionName;

    @ApiModelProperty(value = "商品id")
    private Long productId;

    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "商品总量")
    private Integer sumCount;

    @ApiModelProperty(value = "状态: 0:下架 1:上架")
    private Boolean status;

    @ApiModelProperty(value = "单次上限")
    private Integer upperLimit;

    @ApiModelProperty(value = "回流比例")
    private BigDecimal refluxRatio;

    @ApiModelProperty(value = "排序")
    private Long sort;

    @ApiModelProperty(value = "免费重铸次数")
    private Integer reforgeFreeCount;

    @ApiModelProperty(value = "是否有重铸条件")
    private Boolean isReforgeCondition;

    @ApiModelProperty(value = "条件藏品id")
    private Long conditionCollectionId;

    @ApiModelProperty(value = "条件藏品id名称")
    private String conditionCollectionName;


}
